package messagesPacks;
import java.sql.Date;

import messagesPacks.GenericMessage.msgType;

/**
 * This class representing a LibrarianReturnBookMessage
 * Date: 1/1/2013
 * @author Tali Pisarev
 *
 */

public class LibrarianReturnBookMessage extends GenericMessage
{

	private static final long serialVersionUID = 1L;
	
	/**copyID is Unique number of the copy */
	private String copyID;
	/**BN is Unique number of Borrow Number in DB (key)*/
	private int BN;
	/**save the Query result*/
	private int queryReturnBookResult=-10;

/**
* Constructor the LibrarianRemoveCopyMessage with default values
*/	
	public LibrarianReturnBookMessage()
	{
		this.type = msgType.LibrarianReturnBookMSG;
		
	}
	
//===================================================================	
//  Getters & Setters
//===================================================================			
	public String getCopyID()
	{
		return copyID;
	}

	public void setCopyID(String copyID) 
	{
		this.copyID = copyID;
	}
	
	public int getBN()
	{
		return BN;
	}

	public void setBN(int BN) 
	{
		this.BN = BN;
	}
	
	
	public int getQueryLibReturnBookResult()
	{
		return queryReturnBookResult;
	}

	
	public void setQueryLibReturnBookResult (int queryReturnBookResult)
	{
		this.queryReturnBookResult = queryReturnBookResult;
	}
	

}